package com.demo.mapper;

import com.demo.pojo.Comployee;
import com.demo.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ComployeeMapper {
    int deleteByPrimaryKey(String comployeeNo);

    int insert(Comployee record);

    int insertSelective(Comployee record);

    Comployee selectByPrimaryKey(String comployeeNo);

    int updateByPrimaryKeySelective(Comployee record);

    int updateByPrimaryKey(Comployee record);

    int pageCount(Comployee comployee);

    List<Comployee> pageByCond(
            @Param("comployee") Comployee comployee,
            @Param("pageNo") int pageNo,
            @Param("pageSize") int pageSize);

}